package com.wxy.gxs.springbootprojectday21;

import com.wxy.gxs.springbootprojectday21.untils.DownloadUtil;
import com.wxy.gxs.springbootprojectday21.untils.HttpHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class SpringbootProjectDay21Application {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootProjectDay21Application.class, args);
	}


	@Bean
	public DownloadUtil downloadUtil(){

		return new DownloadUtil();
	}
	@Bean
	public HttpHelper getHttpHelper(){


		return new HttpHelper();
	}







}
